package com.hhsj.dynamicui.server.sql;

public class Tabels {

    public static final String DESC = "desc";
    public static final String _ID = "_id";

    public static final String DB_NAME = "module_db";

    public static class Const {
        public static final String TABLE_NAME = "CHANG_LIANG";
        public static final String CONST_TYPE = "const_type";
        public static final String CONST_CODE = "const_code";
        public static final String CONST_NAME = "const_name";
    }

    public static class Module {
        public static final String TABLE_NAME = "CHANG_LIANG";

    }

    /**
     * |字段|类型|名称|
     * |---|---|---|
     * |_id|long|主键ID|
     * |status|int|状态<br/>1,启用<br/>2,弃用|
     * |widget_type|String|视图类型|
     * |group_id|long|宿主id|
     * |rn|int|group中的排序|
     * |property_id|long|属性id <br/>AD,SERVICE等|
     * |spc_property_id|long|特殊属性id|
     * |desc|String|描述|
     * |business|String|业务|
     * |business_param|String|业务参数|
     */
    public static class Widget {
        public static final String TABLE_NAME = "WIDGET_LIST";
        public static final String STATUS = "status";
        public static final String WIDGET_TYPE = "widget_type";
        public static final String GROUP_ID = "group_id";
        public static final String RN = "rn";
        public static final String PROPERTY_ID = "property_id";
        public static final String SPC_PROPERTY_ID = "spc_property_id";
        public static final String BUSINESS = "business";
        public static final String BUSINESS_PARAM = "business_param";

    }
}